package com.travel.server.manager.dao;

import com.travel.server.manager.model.AdvertisingSourceInfo;
import com.travel.server.manager.model.AdvertisingSourceInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AdvertisingSourceInfoDao {
    int countByExample(AdvertisingSourceInfoExample example);

    int deleteByExample(AdvertisingSourceInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AdvertisingSourceInfo record);

    int insertSelective(AdvertisingSourceInfo record);

    List<AdvertisingSourceInfo> selectByExample(AdvertisingSourceInfoExample example);

    AdvertisingSourceInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AdvertisingSourceInfo record, @Param("example") AdvertisingSourceInfoExample example);

    int updateByExample(@Param("record") AdvertisingSourceInfo record, @Param("example") AdvertisingSourceInfoExample example);

    int updateByPrimaryKeySelective(AdvertisingSourceInfo record);

    int updateByPrimaryKey(AdvertisingSourceInfo record);
}